package net.eascn.OrderReader.model
{
	import flash.events.EventDispatcher;
	
	import net.eascn.OrderReader.dao.ORProvider;
	
	public class OrderReaderModelLocator extends EventDispatcher
	{
		public function OrderReaderModelLocator()
		{
			dao = new ORProvider();
		}
		private static var _instance:OrderReaderModelLocator = null;
		public static function getInstance():OrderReaderModelLocator
		{
			if(!_instance)
				_instance = new OrderReaderModelLocator();
			return _instance;	
		}
		
		public var dao:ORProvider = null;
		
		public var isnewed:Boolean = false;
		
		public var currentAlbumXML:XML = null;
		public var currentPageXML:XML = null;
		public var standardXML:XMLList = null;
		
		public var catalogueXML:XMLList = null;
		public var currentStandard:XML = null;
		
	}
}